//
//  UpdateSexTableViewCell.m
//  beautyLamp
//
//  Created by Tam Kwok To Michael on 2017/8/15.
//  Copyright © 2017年 Tam Kwok To Michael. All rights reserved.
//

#import "UpdateSexTableViewCell.h"
@interface UpdateSexTableViewCell ()
@property (weak, nonatomic) IBOutlet UILabel *sexLabel;

@property (weak, nonatomic) IBOutlet UIImageView *sexImage;
@end

@implementation UpdateSexTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
}

- (void)setupCell:(NSString *)sexText isSelected:(BOOL) selected {
    self.sexLabel.text = sexText;
    UIImage *showImage;
    if(selected) {
        showImage = [UIImage imageNamed:@"regist_selected"];
    }else {
        showImage = [UIImage imageNamed:@"regist_noselected"];
    }
    self.sexImage.image = showImage;
}


@end
